<template>
  <el-container>
    <el-aside width="auto" style="box-shadow: 2px 0 6px rgb(0 21 41 / 35%)">
      <CommAside/>
    </el-aside>
    <el-container>
      <el-header>
        <CommHeader/>
      </el-header>
      <CommTag/>
      <el-main style="height: 100vh">
        <router-view/>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
export default {
  name: "Main",
  components: {
    CommHeader: () => import("@/components/CommHeader"),
    CommAside: () => import("@/components/CommAside"),
    CommTag: () => import("@/components/CommTag"),

  }
}
</script>

<style scoped>
.el-header {
  background-color: #333;
}

.el-main {
  padding-top: 0;
}
</style>
